package com.weeego.web.action;

import com.sql.weeego.bean.base.CenterNotes;
import com.weeego.web.service.UserNotesService;

/**
 *
 * @author zuaa
 */
public class UserNotesAction {

    public UserNotesAction() {
    }
    private CenterNotes centerNotes;
    private UserNotesService userNotesService;

    public void setUserNotesService(UserNotesService userNotesService) {
        this.userNotesService = userNotesService;
    }

    public String save() {
        return this.userNotesService.saveNotes(getCenterNotes());
    }

    public CenterNotes getCenterNotes() {
        return centerNotes;
    }

    public void setCenterNotes(CenterNotes centerNotes) {
        this.centerNotes = centerNotes;
    }

    public UserNotesService getUserNotesService() {
        return userNotesService;
    }
}
